package com.link.base.base.orgnization.service;

import com.link.base.base.orgnization.model.Orgnization;
import com.link.core.basic.model.CallParam;
import com.link.core.basic.service.BasicService;
import com.link.core.basic.service.BasicServiceException;

/**
 * @author unknown
 * @date unknown
 * @comments 组织导入服务
 */
public interface OrgImportService extends BasicService<Orgnization> {

    /**
     * 检验组织类型、父组织、是否有效
     * @param record
     * @throws BasicServiceException
     */
    public void runOrganizationCheck(com.link.core.basic.model.CallParam record) throws BasicServiceException;

    /**
     * 插入到组织
     * @param record
     * @throws BasicServiceException
     */
    public void runNewOrganizationForimp(CallParam record) throws BasicServiceException;
}
